package mvc.com
{
	import flash.display.MovieClip;
	
	import mvc.com.views.ViewAddMessage;
	import mvc.com.views.ViewLogin;

	public class MainBoard extends MovieClip
	{		
		private var viewMessage:ViewAddMessage;
		private var viewLogin:ViewLogin;
		private var mcMessage:MovieClip;
		private var mcLogin:MovieClip;
		
		public function MainBoard()
		{
			super();
			setup();
			init();
		}
		/* setup element */
		private function setup():void
		{
			mcMessage=this.addMessage_mc;
			mcLogin=this.login_mc;
		}
		/* init function */
		private function init():void
		{
			/* view message */
			viewMessage=new ViewAddMessage(mcMessage);
			/* view login */
			viewLogin=new ViewLogin(mcLogin);
		}
	}
	/* End Class */
}